package cn.wenhe9.novel.auth;

import cn.wenhe9.novel.exception.NovelException;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * 平台后台管理系统 认证策略
 *
 * @author DuJinliang
 * 2022/5/18
 */
@Component
@RequiredArgsConstructor
public class AdminAuthStrategy implements AuthStrategy {

    @Override
    public void auth(String token) throws NovelException {
        // TODO 平台后台 token 校验
    }
}